//
//  RestaurantCore.m
//  ClassifyShop
//
//  Created by yuyao on 15/3/10.
//  Copyright (c) 2015年 yuyao. All rights reserved.
//

#import "RestaurantCore.h"

@implementation RestaurantCore
@synthesize restId,name,thumb,introduction,recommend,addrArray,logo,order,keyword,foodsArray;
- (RestaurantCore *)initWithRestId:(int)rid Name:(NSString *)n Thumb:(NSString *)t Introduction:(NSString *)intro Recommend:(NSString *)rec Address:(NSArray *)addDic Logo:(NSString *)lo Order:(int)orde Keyword:(NSString *)kw FoodsArray:(NSArray *)foodsDic{
    self = [super init];
    if (self) {
        self.restId = rid;
        self.name = n;
        self.thumb = t;
        self.introduction = intro;
        self.recommend = rec;
        self.addrArray = addDic;
        self.logo = lo;
        self.order = orde;
        self.keyword = kw;
        self.foodsArray = foodsDic;
    }
    

    
    return self;
}
@end
